export * from "./page/index";
export * from "./search/index";
export * from "./thin-table/index";

import { Plugin } from "vue";

import { NilThinTable } from "./thin-table";
import { NilPage } from "./Page";
import { NilSearch } from "./Search";

export default {
  NilPage,
  NilSearch,
  NilThinTable,
} as Record<string, Plugin>;

declare module "vue" {
  export interface GlobalComponents {
    NilPage: typeof NilPage;
    NilSearch: typeof NilSearch;
    NilThinTable: typeof NilThinTable;
  }
}
